# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
    ['app.py'],
    pathex=[],
    binaries=[],
    datas=[
        ('page/','page'),
        ('data/*.json','data'),
        ('resource/bg/', 'resource/bg'),      # 图片
        ('resource/music/', 'resource/music'),                     # 音频
        ('resource/music/', 'templates'),             # Excel文件
    ],
    hiddenimports=[
        'tkinter', 
        'PIL', 
        'tkinter.filedialog',
        'tkinter.ttk',
        'PIL.ImageTk',
        'PIL.Image',
        'pandas',
        'pandas.pd',
        'openpyxl',
        'pygame',
        'random',
        'datetime',
        ],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=False,
    optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    [],
    exclude_binaries=True,
    name='app',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
)
coll = COLLECT(
    exe,
    a.binaries,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=[],
    name='app',
)
